<%--
  Created by IntelliJ IDEA.
  User: KangWang
  Date: 2021/5/14
  Time: 9:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta username="viewport" content="width=device-width, initial-scale=1.0">
    <title>华康科技有限公司</title>
    <link rel="shortcut icon" href="https://static.websiteonline.cn/website/template/default/images/favicon.ico"
          type="image/x-icon">
    <link rel="Bookmark" href="https://static.websiteonline.cn/website/template/default/images/favicon.ico">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/head.css" type="text/css">
</head>

<body>
<!-- 头部 -->
<div class="head">
    <div class="top">
        <div>
            <!-- 公司名称及标识 -->
            <div class="company-username-icon" >
                <div class="company-1name-icon" >
                    <!-- 图标Logo -->
                    <div class="company-icon" >
                        <img src="${pageContext.request.contextPath}${images[0].imgUrl}">
                    </div>
                    <!-- 公司名称 -->
                    <div>
                        <span class="company-username" >${companyProfile.companyName}</span>
                    </div>
                    <div>
                        <em class="company-1name">
                            <span>${companyProfile.nameEnglish}</span>
                        </em>
                    </div>
                </div>
                <!-- 横线 -->
                <div>
                    <div class="horizontal-solid"></div>
                </div>
            </div>
            <div>
                <!-- 电话LogO及客服 -->
                <div class="phoneService">
                    <div class="phone-icon">
                        <img src="${pageContext.request.contextPath}/img/9_2ach.png">
                    </div>
                    <div class="phone-service">
                        <span>客服电话：</span>
                    </div>
                    <div class="phone-1service">
                        <span>${companyProfile.companyPhone}</span>
                    </div>
                    <div class="phone-2service">
                        <fmt:formatDate value="${companyProfile.startTime}" var="startTime" pattern="HH:mm"></fmt:formatDate>
                        <fmt:formatDate value="${companyProfile.endTime}" var="endTime" pattern="HH:mm"></fmt:formatDate>
                        <span>（${startTime}----${endTime}）</span>
                    </div>
                </div>
                <!-- 菜单栏 -->
                <div>
                    <div class="nav-icon">
                        <img src="${pageContext.request.contextPath}/img/2_iqzt.png" />
                    </div>
                    <!-- 导航 -->
                    <div class="nav">
                        <ul>
                            <c:forEach items="${navs}" var="nav">
                                <li class="a-href">
                                    <a href="${pageContext.request.contextPath}${nav.navUrl}">${nav.navName}</a>
                                </li>
                            </c:forEach>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 头部公司文字简介 -->
    <div class="company-wenzi">
        <div class="wenzi">
            <div class="company-1wenzi">
                <span>${companyProfile.companyIdea}</span>
            </div>
            <div class="company-2wenzi">
                <div>
                        <span>
                            <i>
                                ${companyProfile.ideaEnglish}
                            </i>
                        </span>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>
